package enumerated;
import static print.Print.*;
public enum OverrideConstantSpecific {
    HUT,
    BOLD,
    WASHER{
        void f(){
            print("override method");
        }
    };
    void f(){
        print("default behavior!");
    }

    public static void main(String[] args) {
        for (OverrideConstantSpecific ocs : values()){
            printnb(ocs+": ");
            ocs.f();
        }
    }
}
